package academic.ui.client;

import ecommerce.soco.shared.*;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface CheckoutServiceAsync {

	public void processOrder(Integer productID, Integer quantity,GWT_Customer customerRg,GWT_CreditCard cCard,GWT_Gift gift,
			AsyncCallback<Integer> asyncCallback);
	
	public void addCard(GWT_CreditCard card,
			AsyncCallback<GWT_CreditCard[]> asyncCallback);
	
	public void getZones(AsyncCallback<GWT_Zone[]> asyncCallback);

	
	public void getUserPaymentOptions(
			AsyncCallback<GWT_CreditCard[]> asyncCallback);

	public void updateCard(GWT_CreditCard order,
			AsyncCallback<Integer> asyncCallback);

	public void getCreditCard(String id, AsyncCallback<GWT_CreditCard> asyncCallback);

	public void setAsDefaultCard(String id, AsyncCallback<Boolean> asyncCallback);

	public void removeCard(String id,
			AsyncCallback<GWT_CreditCard[]> asyncCallback);

}
